#ifndef _ADC_H_
#define _ADC_H_
#include "sys.h"
enum {
	ADC_CHANNEL0 = 0x00,
	ADC_CHANNEL1,
	ADC_CHANNEL2,
	ADC_CHANNEL3,
	ADC_CHANNEL4,
	ADC_CHANNEL5,
	ADC_CHANNEL6,
	ADC_CHANNEL7
};

u16 adc_read_avg(u16 channel,u16 avg_cnt);
#endif